package com.yydm.serviceacls.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 员工和角色的关系
 */
@Data
@TableName(value = "user_role", autoResultMap = true)
@ApiModel("员工和角色对象模型")
public class UserRole {

    @ApiModelProperty(value = "员工id", required = true)
    private Long user_id;

    @ApiModelProperty(value = "角色id", required = true)
    private Long role_id;
}
